<?php

use Zxing\QrReader;

include_once 'vendor/autoload.php';
$reader = new QrReader('php.png');
echo $reader->text();